package jp.co.apl.haven_enquete.android.activity;

import jp.co.apl.haven_enquete.android.R;
import android.app.ListActivity;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.os.Bundle;
import android.widget.SimpleCursorAdapter;

public class TargetList extends ListActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Cursor cursor = new MatrixCursor(new String[] { "id", "name" });
        setListAdapter(new SimpleCursorAdapter(
            this,
            R.layout.target_list,
            cursor,
            new String[] { "" },
            new int[] { 1 }));
    }
}
